export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  searchMenuSpan: 6,
  editBtn: false,
  delBtn: false,
  align: 'center',
  addBtn: false,
  viewBtn: true,
  column: [
    {
      type: 'input',
      label: '主键ID',
      prop: 'id',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '创建人ID',
      prop: 'createdId',
      span: 12,
      display: false,
      hide: true,
      editDisabled: true
    },
    {
      type: 'input',
      label: '创建人',
      prop: 'createdBy',
      span: 12,
      editDisabled: true
    },
    {
      type: 'input',
      label: '创建时间',
      prop: 'createdTime',
      span: 12,
      width: 135,
      editDisabled: true
    },
    {
      type: 'select',
      label: '状态',
      prop: 'status',
      span: 12,
      value: 0,
      dicData: [
        {
          label: '未读',
          value: 0
        },
        {
          label: '已读',
          value: 1
        }
      ],
      editDisabled: true
    },
    {
      type: 'select',
      label: '类型编码',
      prop: 'typeCode',
      span: 12,
      value: 'N',
      dicData: [
        {
          label: '内部跳转',
          value: 'N'
        },
        {
          label: '外部跳转',
          value: 'Y'
        }
      ],
      editDisabled: true
    },
    {
      type: 'textarea',
      label: '内容',
      prop: 'content',
      span: 24,
      editDisabled: true
    },
    {
      type: 'textarea',
      label: '描述',
      prop: 'remarks',
      span: 24,
      editDisabled: true
    },
    {
      type: 'input',
      label: '读取时间',
      prop: 'readTime',
      span: 12,
      editDisabled: true
    },
    {
      type: 'input',
      label: '读取用户ID',
      prop: 'readUserId',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '读取用户名称',
      prop: 'readUserName',
      span: 12,
      width: 100,
      editDisabled: true
    },
    {
      type: 'input',
      label: '读取单位ID',
      prop: 'readOuId',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '读取单位名称',
      prop: 'readOuName',
      span: 12,
      editDisabled: true
    },
    {
      type: 'input',
      label: '读取单位全名称',
      prop: 'readOuFullName',
      span: 12,
      hide: true,
      editDisabled: true
    },
    {
      type: 'input',
      label: '消息对象ID',
      prop: 'messageUserObjectId',
      span: 12,
      hide: true,
      display: false
    }
  ]
}

export const tableOption2 = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  searchMenuSpan: 6,
  editBtn: false,
  delBtn: false,
  align: 'center',
  addBtn: false,
  menuWidth: 280,
  viewBtn: true,
  column: [
    {
      type: 'input',
      label: '主键ID',
      prop: 'id',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '创建人ID',
      prop: 'createdId',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '创建人',
      prop: 'createdBy',
      span: 12,
      editDisabled: true
    },
    {
      type: 'input',
      label: '创建时间',
      prop: 'createdTime',
      span: 12,
      width: 135,
      editDisabled: true
    },
    {
      type: 'select',
      label: '状态',
      prop: 'status',
      span: 12,
      value: 0,
      dicData: [
        {
          label: '未读',
          value: 0
        },
        {
          label: '已读',
          value: 1
        }
      ],
      editDisabled: true
    },
    {
      type: 'select',
      label: '类型编码',
      prop: 'typeCode',
      span: 12,
      value: 'N',
      dicData: [
        {
          label: '内部跳转',
          value: 'N'
        },
        {
          label: '外部跳转',
          value: 'Y'
        }
      ],
      editDisabled: true
    },
    {
      type: 'textarea',
      label: '内容',
      prop: 'content',
      span: 24,
      editDisabled: true
    },
    {
      type: 'textarea',
      label: '描述',
      prop: 'remarks',
      span: 24,
      editDisabled: true
    }
  ]
}
